{php $data = subcat($module, $catid);}
{loop $data $n $r}
{if $r[ismenu]}<li><a href="{$r[url]}" id="menu_{$r[catid]}"><span>{$r[catname]}</span></a></li>{/if}
{/loop}